unique sql queries laravel

65

get the unique rows from table laravel -

$categories = Machine::distinct('category')->pluck('category');


Comments

Submit
0 Comments